//
//  UIButton+Chain.h
//  YJB
//
//  Created by admin on 2017/5/3.
//  Copyright © 2017年 肖世恒. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIButton (Chain)
    
    //初始化方法
+(UIButton *(^)(void))initialization;
    
    //自定义frame
-(UIButton *(^)(CGRect rect))rect;
    
    //自定义backgroundColor
-(UIButton *(^)(UIColor * color))bgColor;
    
    //自定义title
-(UIButton *(^)(NSString * title))normalTitle;
    
    //自定义selectTitle
-(UIButton *(^)(NSString * title))selectTitle;
    
    //自定义target action
-(UIButton *(^)(id object, SEL method))action;

@end
